/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.gepad.logica;

import com.gepad.modelo.Empresa;
import java.util.List;
import javax.ejb.Stateless;

/**
 *
 * @author Estudiante
 */
@Stateless
public class LogicaEmpresa implements LogicaEmpresaLocal {

    @EJB
    private IEmpresaDAO empresaDAO;
    
    @Override
    public void modificar(Empresa empresa) throws Exception {
       
       // Empresa objempresa = empresaDAO.
    
    }

    @Override
    public void registrar(Empresa empresa) throws Exception {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void eliminar(Empresa empresa) throws Exception {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public List<Empresa> consultartodos() throws Exception {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public Empresa consultarporDoc(Integer numeroempresa) throws Exception {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

   
}
